#include "trap.h"
#include "instr_def.h"
#include "instr_test.h"
    .set noreorder
    .set noat
    .globl main
    .text
main:
    li $s1, 0x0
    nop
    nop
    ADD_TEST(0xe4b62124, 0x6f1772b8, 0x53cd93dc) # 1
    ADD_TEST(0x2a19dd40, 0xa87971e0, 0xd2934f20) # 2
    ADD_TEST(0x80613360, 0x42adf91d, 0xc30f2c7d) # 3
    ADD_TEST(0x5bec25e2, 0xf96edfe4, 0x555b05c6) # 4
    ADD_TEST(0x70b9a200, 0xd9bf4900, 0x4a78eb00) # 5
    ADD_TEST(0xd0439d20, 0x210c4488, 0xf14fe1a8) # 6
    ADD_TEST(0x00000000, 0x7d54a866, 0x7d54a866) # 7
    ADD_TEST(0x00000000, 0xfd32a866, 0xfd32a866) # 8
    ADD_TEST(0x9fcc8a42, 0x00000000, 0x9fcc8a42) # 9
    ADD_TEST(0xeca485a1, 0x00000000, 0xeca485a1) # 10
    ADD_TEST(0x7fffffff, 0x7fffffff, 0x00000000) # 11 IntergerOverflow
    ADD_TEST(0xeca485a1, 0xeca485a1, 0x00000000) # 12 IntergerOverflow
    ADD_TEST(0x0913c7b8, 0x6c5f982c, 0x75735fe4) # 13
    ADD_TEST(0x2890ffb0, 0x45d5eda8, 0x6e66ed58) # 14
    ADD_TEST(0xfddfd88a, 0xf06ba9f0, 0xee4b827a) # 15
res_error:
    li $s1, 0x11111111
    nop
    HIT_GOOD_TRAP		#stop temu